<template>
  <div id="item-bank" class="jx-content">
      <div class="fl courseName">
        上海市普陀区金沙江路
      </div>
    <div class="btn-group fr">
      <el-form :inline="true">
        <el-form-item>
          <div class="button-style">&emsp;新 增&emsp;</div>
        </el-form-item>
        <el-form-item>
          <div class="button-style" >&emsp;导 入&emsp;</div>
        </el-form-item>
        <el-form-item>
          <div class="button-style" >&emsp;删 除&emsp;</div>
        </el-form-item>
        <el-form-item>
          <div class="button-style">调整顺序</div>
        </el-form-item>
      </el-form>
    </div>
    <el-table :data="tableData" style="width: 100%">
      <el-table-column type="selection" width="55"></el-table-column>
      <el-table-column prop="address" label="章节名称" width="250"></el-table-column>
      <el-table-column prop="name" label="章节编号" ></el-table-column>
      <el-table-column prop="date" label="章节类型"></el-table-column>
      <el-table-column prop="laiyuan" label="章节目标" width="180"></el-table-column>
       <el-table-column prop="laiyuan" label="所属能力"></el-table-column>
      <el-table-column fixed="right" label="操作" width="200">
        <template slot-scope="scope">
          <el-button
            @click.native.prevent="deleteRow(scope.$index, tableData4)"
            type="text"
            size="small"
          >修改</el-button>
          <el-button
            @click.native.prevent="deleteRow(scope.$index, tableData4)"
            type="text"
            size="small"
          >详情</el-button>
        </template>
      </el-table-column>
    </el-table>
  </div>
</template>
<script>
export default {
  data() {
    return {
      tableData: [
        {
          date: "2016-05-02",
          name: "王小虎",
          address: "上海市普陀区金沙江路 1518 弄",
          laiyuan: "laiyuan"
        },
        {
          date: "2016-05-04",
          name: "王小虎",
          address: "上海市普陀区金沙江路 1517 弄",
          laiyuan: "laiyuan"
        },
        {
          date: "2016-05-01",
          name: "王小虎",
          address:
            "上海市普陀区金沙江路 1519 弄上海市普陀区金沙江路 1519 弄上海市普陀区金沙江路 1519 弄",
          laiyuan: "laiyuan"
        },
        {
          date: "2016-05-03",
          name: "王小虎",
          address: "上海市普陀区金沙江路 1516 弄",
          laiyuan: "laiyuan"
        }
      ]
    };
  },
  mounted() {
    this.init();
  },
  methods: {
    init() {},
  }
};
</script>
<style lang="scss">
@import "../../../styles/layout/color_variables";
#item-bank {
  width: 1200px;
  margin: 50px auto;
  .dialog-import-questions{
    .dialog-content{
      text-align: center;
      padding:60px 0 40px;
    }
    .el-dialog__footer{
      text-align: center;
    }
  }
}
.courseName{
    font-size: 18px;
}
</style>
